package com.ruoyi.business.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
/**
 * 健康服务-心血管
 * **/
@Data
@Getter
@Setter
public class HealthServicesChinaparVO {

    @JsonProperty("message")
    private String message;

    @JsonProperty("result")
    private Result result;

    public static class Result {

        @JsonProperty("advice")
        private String advice;

        @JsonProperty("ai_disease")
        private AiDisease ai_disease;

        @JsonProperty("some_data")
        private List<SomeData> some_data;

        public static class AiDisease {

            @JsonProperty("degree")
            private String degree;

            @JsonProperty("risk")
            private double risk;

        }

        public static class SomeData {

            @JsonProperty("name")
            private String name;

            @JsonProperty("value")
            private String value;

        }
    }
}
